﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserForMenu.aspx.cs" Inherits="WaterApp.Account.UserForMenu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>权限对象管理</title>
    <link href="../Styles/if.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/Site.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../Scripts/jquery-ui-1.9.1.custom/development-bundle/demos/demos.css" type="text/css" /> 
	<link rel="stylesheet" href="../Scripts/jquery-ui-1.9.1.custom/development-bundle/themes/base/jquery.ui.all.css" type="text/css" />
	<script src="../Scripts/jquery-ui-1.9.1.custom/js/jquery-1.8.2.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/external/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.core.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.widget.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.mouse.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.draggable.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.position.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.resizable.js" type="text/javascript"></script>
	<script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.dialog.js" type="text/javascript"></script> 
    <script src="../Scripts/jquery-ui-1.9.1.custom/development-bundle/ui/jquery.ui.tabs.js" type="text/javascript"></script>  
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:100%; background-color: #E0E0E0; height:30px; 
                font-family:宋体; font-size:12px; font-weight:bold; line-height:30px;">
      系统管理=>权限对象管理
    </div>    
    <br />
    <br />
  <div style="width: 99%; text-align: center; margin: 2px 0px 5px 2px;">
                 <div style="float: left; width: 49%; height: 100%; padding: 2px 0px 0px 0px;">
                    <asp:GridView ID="AllUser" runat="server" Width="100%" AutoGenerateColumns="false"
                              AllowPaging="true" PageSize="15"
                              OnSelectedIndexChanged = "AllUser_SelectedIndexChanged" >
                    <HeaderStyle CssClass="poputopbj" Font-Names="Arial,宋体" Font-Size="12px" /> 
                    <SelectedRowStyle BackColor = "#CCCCCC" ForeColor="black" />
                    <AlternatingRowStyle BackColor="#F7F7F7"></AlternatingRowStyle>  
                    <Columns>
                      <asp:BoundField DataField="UserName" HeaderText="登录名称" 
                                      ItemStyle-HorizontalAlign="Left" ItemStyle-Width="80px"></asp:BoundField>                                             
                      <asp:TemplateField ItemStyle-Width="30px">
                         <ItemTemplate>
                              <asp:LinkButton ID="linkSel" runat="server" ForeColor="Black" 
                                              CommandName="Select" Text="选择">
                              </asp:LinkButton>
                         </ItemTemplate>
                      </asp:TemplateField>          
                    </Columns>
                   </asp:GridView>
                 </div>
                 <div style="float: left; width: 49%; height: 100%; padding: 2px 0px 0px 0px; margin:0px 0px 0px 5px;">
                    <asp:GridView ID="AllMenu" runat="server" Width="100%" AutoGenerateColumns="false"
                                  AllowPaging="true" PagerSettings-Mode="Numeric" PageSize = "20"
                                  OnRowDataBound = "AllMenu_RowDataBound"
                                  OnPageIndexChanging = "AllMenu_PageIndexChanging"  >
                    <HeaderStyle CssClass="poputopbj" Font-Names="Arial,宋体" Font-Size="12px" /> 
                    <SelectedRowStyle BackColor = "#CCCCCC" ForeColor="black" />
                    <AlternatingRowStyle BackColor="#F7F7F7"></AlternatingRowStyle>
                    <PagerStyle ForeColor="Black" /> 
                    <Columns>
                      <asp:BoundField DataField="NodeID" HeaderText="编号" ItemStyle-Font-Size="13px" 
                                      ItemStyle-HorizontalAlign="Left" ItemStyle-Width="30px"></asp:BoundField>
                      <asp:BoundField DataField="Title" HeaderText="菜单名称" 
                                      ItemStyle-HorizontalAlign="Left" ItemStyle-Width="90px"></asp:BoundField>                       
                      <asp:TemplateField ItemStyle-Width="30px">
                         <ItemTemplate>
                              <asp:CheckBox ID="cbSel" runat="server" AutoPostBack="true"
                                            ToolTip='<%# DataBinder.Eval(Container.DataItem, "NodeID")%>'
                                            OnCheckedChanged="cbSel_CheckedChanged" />
                         </ItemTemplate>
                      </asp:TemplateField>          
                    </Columns>
                   </asp:GridView>
                 </div>
             </div>
             <%--<div style="width:95%; text-align:right;">
                   <asp:Label ID="lbmsg" runat="server" Width="200px" ForeColor="Red"></asp:Label>
                   <asp:LinkButton ID="lnkbutSet" runat="server" Width="80px" 
                            CssClass="linkbutton" Text="关联用户"></asp:LinkButton>
                   <asp:LinkButton ID="lnkbutDel" runat="server" Width="80px" 
                            CssClass="linkbutton" Text="删除关联"></asp:LinkButton>
             </div>--%>
             <asp:ListBox ID="lbrelbut" runat="server" Height="50px" Width="50px" Visible="false"></asp:ListBox>
    </form>
</body>
</html>
